const app = getApp();
Page({
  data: {
    StatusBar: app.globalData.StatusBar,
    CustomBar: app.globalData.CustomBar,
    log_list:[],
  },
  onLoad: function () {
    this.get_jifen_history();
  },

  //获取版本号信息
  get_jifen_history:function(){
    let _this = this;
    app._post('api/member/get_jifen_history', {}, function(result) {
      if(result.code == 200){
        _this.setData({
          jifen_history:result.data
        })
      }
    });
  },

  //去记账
  to_jizhang:function(){
    wx.redirectTo({
      url: '/pages/user/create'
    })
  },

  //去发帖
  to_fatie:function(){
    wx.navigateTo({
      url: '/pages/community/publish'
    })
  },

  //去评论
  to_comment:function(){
    wx.navigateTo({
      url: '/pages/community/index'
    })
  },

  //去签到
  to_sign:function(){
    wx.navigateTo({
      url: './signin'
    })
  }
});
